#ifndef DELETEMONTHDATADIALOG_H
#define DELETEMONTHDATADIALOG_H

#include <QDialog>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QFormLayout>
#include <QComboBox>
#include <QPushButton>
#include <QDialogButtonBox>
#include <QLabel>
#include <QSqlQuery>
#include <QMessageBox>
#include <QDate>

class DeleteMonthDataDialog : public QDialog
{
    Q_OBJECT

public:
    explicit DeleteMonthDataDialog(QWidget *parent = nullptr);
    
private slots:
    void onDeleteData();
    void populateMonthComboBox();
    
private:
    void setupUI();
    
    // UI组件
    QComboBox *m_monthComboBox;
    QPushButton *m_deleteButton;
    QDialogButtonBox *m_buttonBox;
};

#endif // DELETEMONTHDATADIALOG_H